@echo off

TITLE SERVER

SET LIB_DIR=.

CALL dir

setlocal EnableDelayedExpansion
SET JARS=%LIB_DIR%
SET CP=.
for %%i in ("%JARS%\*.jar") do set CP=!CP!;%%i
SET cp=%cp%;%CP%

CALL java -cp %cp%;rmdDaemon.jar com.rms.rmd.JobRunnerMain
PAUSE